package com.bluej.mybatisSpring.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bluej.mybatisSpring.dao.UserDao;
import com.bluej.mybatisSpring.entity.User;
import com.bluej.mybatisSpring.service.UserService;

@Service("userService")
public class UserServiceImpl implements UserService {
	
	@Autowired
	private UserDao userDao;

	public User selectUserByID(int id) {
		return userDao.selectUserByID(id);
	}

}
